﻿Imports System.ComponentModel.DataAnnotations
Imports System.ComponentModel.DataAnnotations.Schema

<Table("Servicio")>
Public Class Servicio
    Implements  IEntity

    <Key()>
    <DatabaseGenerated(DatabaseGeneratedOption.Identity)>
    Public Property IdServicio() As Integer

    <StringLength(50)>
    Public Property Descripcion() As String

    <NotMapped()>
    Public Property ID() As Integer Implements IEntity.ID
        Get
            Return IdServicio
        End Get
        Set(ByVal value As Integer)
            IdServicio = value
        End Set
    End Property
End Class
